export type UserModel = {
  totalCount: number //列表个数
  list: any //列表
}

const api: ApiConfig = {
  // 主页面-弹窗提醒
  reminderInfo: {
    method: 'GET',
    url: '/sys/notice/getPopUpReminderInfo'
  },
  // 主页面-弹窗提醒
  getCollectionPopUpReminderInfo: {
    method: 'GET',
    url: '/sys/notice/getCollectionPopUpReminderInfo'
  },
  // 消息通知列表
  noticeList: {
    method: 'GET',
    url: '/sys/notice/list'
  },
  // 消息通知-单个已读
  noticeRead: {
    method: 'POST',
    url: '/sys/notice/readNotice'
  },
  // 消息通知-全部已读
  noticeReadAll: {
    method: 'POST',
    url: '/sys/notice/readAllNotice'
  },
  // 我已提交列表
  submitList: {
    method: 'GET',
    url: '/process/business/getMySubmit'
  },
  // 流程查询
  progressList: {
    method: 'GET',
    url: '/process/business/getAllSubmit'
  },
  // 待我处理列表
  emaineList: {
    method: 'GET',
    url: '/process/business/getWaitSubmit'
  },
  // 待我处理-审批
  emaineDispose: {
    method: 'POST',
    url: '/process/business/workFlowApprove'
  },
  // 经我审批列表
  disposeList: {
    method: 'GET',
    url: '/process/business/getMyProcess'
  },
  // 草稿箱列表
  draftsList: {
    method: 'GET',
    url: '/process/business/getMyDraft'
  },
  // 草稿箱列表-批量删除
  draftsSelete: {
    method: 'POST',
    url: '/process/business/deleteWorkflowFrom'
  },
  // 草稿箱列表-批量提交
  draftsSubmit: {
    method: 'POST',
    url: '/process/business/bathSubmitWorkflowFrom'
  },
  // 收文列表
  receiveList: {
    method: 'GET',
    url: '/oa/receiveAndIssue/receiveIssueReceive/getMyReceiveList'
  },
  // 收文列表-类型
  parentCode: {
    method: 'GET',
    url: '/sys/dic/listByParentCode'
  },
  // 顶部统计
  topCount: {
    method: 'GET',
    url: '/process/business/getTopCount'
  },
  // 跳转路由
  getJumpRoute: {
    method: 'GET',
    url: '/common/public/getRouteJumpList'
  },
  // 获取已删除用户
  userDeletelist: {
    method: 'GET',
    url: '/sys/user/delList'
  },
  // 恢复已删除用户
  userRecoverlist: {
    method: 'GET',
    url: '/sys/user/restore'
  },
  // 重新审批按钮
  reapprovalButton: {
    method: 'GET',
    url: '/process/business/reapprovalButton'
  }
}

export default api
